#include<stdio.h>


int main()
{
    int count = 0;
    while (count)
    {
        printf("hello world\n");
    }

    /*总结：while是先判断 再执行*/
    /*总结：do...while是先执行 再判断*/
    do
    {
        printf("kello 259\n");
    } while (count);

     // int idx = 100;
     //idx++;
     //printf("idx = %d\n," idx);

      //++idx;
      //printf("idx = %d\n", idx);


     /*到底有啥区别？前置++，后置++.*/
      int idx = 0;
      while (idx++< 3)
      {
        printf("hello nihao\n");
      }
     /*后置++：先判断再运算*/

      idx = 0;
      while (++idx < 3)
      {
        printf("hello niuniu\n");
      }
      /*前置++：先运算，再判断*/
      
     return 0; 
}